package cn.stard.org.service;

import cn.stard.basic.util.PageList;
import cn.stard.org.domain.Employee;
import cn.stard.org.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeservice {
    List<Employee>  loadAll();


    Employee loadById(Long id);


    void remove(Long id);


    void save(Employee employee);

    // 根据Id修改
    void update(Employee employee);

    // 分页+高级查询
    PageList queryData(EmployeeQuery employeeQuery);

    // 查询总条数
    Integer queryCount(Employee employeeQuery);

    void deles(List<Long> ids);

    Employee loadByloginfoId(Long id);

    List<Employee> loadByShopId(Long shopId);

}
